package com.sdy.hospitalguard.embed.keepalive.manager.netty.factory.base;

import com.sdy.hospitalguard.embed.keepalive.pojo.netty.FastGateChannelHandlerContext;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class BaseChannelFactory {

    protected static final int CHANNEL_MAP_SIZE = 256;
    protected static final long GET_LOCK_TIME_OUT = 2000;

    /**
     * 序列号配置对应终端长连接
     */
    protected static final Map<String, FastGateChannelHandlerContext> CHANNEL_MAP = new ConcurrentHashMap<>(CHANNEL_MAP_SIZE);

}
